//
//  AboutViewController.m
//  intelligent
//
//  Created by 甘世清 on 2024/2/8.
//

#import "AboutViewController.h"

@interface AboutViewController ()

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.zx_navTitle = SQNSLocalString(@"关于");
}

- (void)SQ_UIViewForSelfView{
    UIImageView * bgImage = [[UIImageView alloc]init];
    bgImage.image = SQGetImage(@"logo 1");
    bgImage.clipsToBounds = YES;
    bgImage.contentMode = UIViewContentModeScaleAspectFit;
    [self.view addSubview:bgImage];
    [bgImage mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view);
        make.size.mas_equalTo(88);
        make.top.equalTo(self.view).offset(TopHeight+60);
    }];
    
    NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
    NSString *applocalversion = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
 
    
    UILabel * label = [[UILabel alloc]init];
    label.textColor = UIColor.blackColor;
    label.font = FONT_REGULAR(16);
    label.text = [NSString stringWithFormat:@"版本%@",applocalversion];
    [self.view addSubview:label];
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerX.equalTo(self.view);
            make.top.equalTo(bgImage.mas_bottom).offset(22);
    }];
}
@end
